/**
 *====================================================
 * 文件名称: FinanceWriteoff.java
 * 修订记录：
 * No    日期				作者(操作:具体内容)
 * 1.    2016年1月11日			chenxy(创建:创建文件)
 *====================================================
 * 类描述：(说明未实现或其它不应生成javadoc的内容)
 */
package com.yuexunit.finance.project.action.v1.model;

import java.math.BigDecimal;
import java.util.Date;

import com.yuexunit.core.BusinessException;
import com.yuexunit.web.annotation.Parameter;

/**
 * @ClassName: FinanceWriteoff
 * @Description: TODO(这里用一句话描述这个类的作用)
 * @author chenxy
 * @date 2016年1月11日 下午5:16:34
 */
public class FinanceWriteoff {

	@Parameter(name = "disbursementTenantId", description = "付款方租户ID", nullable = true)
	private Long disbursementTenantId;
	
	@Parameter(name = "billReceivableId", description = "收付款单ID", nullable = true)
	private Long billReceivableId;

	@Parameter(name = "disbursementBank", description = "付款银行")
	private String disbursementBank;

	@Parameter(name = "disbursementCreditCard", description = "付款卡号")
	private String disbursementCreditCard;

	@Parameter(name = "disbursementName", description = "付款人")
	private String disbursementName;

	@Parameter(name = "drawee", description = "付款对象")
	private String drawee;

	@Parameter(name = "receiptTenantId", description = "收款方租户ID", nullable = true)
	private Long receiptTenantId;

	@Parameter(name = "receiptBank", description = "收款银行")
	private String receiptBank;

	@Parameter(name = "receiptName", description = "收款人")
	private String receiptName;

	@Parameter(name = "payee", description = "收款对象")
	private String payee;

	@Parameter(name = "accountInfoId", description = "账户信息ID")
	private Long accountInfoId;

	@Parameter(name = "receiptCreditCard", description = "收款卡号")
	private String receiptCreditCard;

	@Parameter(name = "writeoffNumber", description = "付款流水号")
	private String writeoffNumber;

	@Parameter(name = "writeoffAmount", description = "核销金额")
	private BigDecimal writeoffAmount;

	@Parameter(name = "writeoffDateTime", description = "核销时间")
	private Date writeoffDateTime;

	@Parameter(name = "writeoffRemark", description = "核销备注")
	private String writeoffRemark;
	
	@Parameter(name = "loansMoneyId", description = "资金拆入信息ID", nullable = true)
	private Long loansMoneyId;

	@Parameter(name = "fileUuid", description = "核销凭证", nullable = true)
	private String fileUuid;

	public Long getBillReceivableId() {
		return billReceivableId;
	}

	public void setBillReceivableId(Long billReceivableId) {
		this.billReceivableId = billReceivableId;
	}

	public Long getLoansMoneyId() {
		return loansMoneyId;
	}

	public void setLoansMoneyId(Long loansMoneyId) {
		this.loansMoneyId = loansMoneyId;
	}

	public Long getAccountInfoId() {
		return accountInfoId;
	}

	public void setAccountInfoId(Long accountInfoId) {
		if (accountInfoId == null) {
			throw new BusinessException("帐户ID不允许为空");
		}
		this.accountInfoId = accountInfoId;
	}

	public String getDrawee() {
		return drawee;
	}

	public void setDrawee(String drawee) {
		this.drawee = drawee;
	}

	public String getPayee() {
		return payee;
	}

	public void setPayee(String payee) {
		this.payee = payee;
	}

	public String getFileUuid() {
		return fileUuid;
	}

	public void setFileUuid(String fileUuid) {
		this.fileUuid = fileUuid;
	}

	public Long getDisbursementTenantId() {
		return disbursementTenantId;
	}

	public void setDisbursementTenantId(Long disbursementTenantId) {
		this.disbursementTenantId = disbursementTenantId;
	}

	public Long getReceiptTenantId() {
		return receiptTenantId;
	}

	public void setReceiptTenantId(Long receiptTenantId) {
		this.receiptTenantId = receiptTenantId;
	}

	public String getDisbursementBank() {
		return disbursementBank;
	}

	public void setDisbursementBank(String disbursementBank) {
		this.disbursementBank = disbursementBank;
	}

	public String getDisbursementCreditCard() {
		return disbursementCreditCard;
	}

	public void setDisbursementCreditCard(String disbursementCreditCard) {
		this.disbursementCreditCard = disbursementCreditCard;
	}

	public String getDisbursementName() {
		return disbursementName;
	}

	public void setDisbursementName(String disbursementName) {
		this.disbursementName = disbursementName;
	}

	public String getReceiptBank() {
		return receiptBank;
	}

	public void setReceiptBank(String receiptBank) {
		this.receiptBank = receiptBank;
	}

	public String getReceiptName() {
		return receiptName;
	}

	public void setReceiptName(String receiptName) {
		this.receiptName = receiptName;
	}

	public String getReceiptCreditCard() {
		return receiptCreditCard;
	}

	public void setReceiptCreditCard(String receiptCreditCard) {
		this.receiptCreditCard = receiptCreditCard;
	}

	public String getWriteoffNumber() {
		return writeoffNumber;
	}

	public void setWriteoffNumber(String writeoffNumber) {
		this.writeoffNumber = writeoffNumber;
	}

	public BigDecimal getWriteoffAmount() {
		return writeoffAmount;
	}

	public void setWriteoffAmount(BigDecimal writeoffAmount) {
		this.writeoffAmount = writeoffAmount;
	}

	public Date getWriteoffDateTime() {
		return writeoffDateTime;
	}

	public void setWriteoffDateTime(Date writeoffDateTime) {
		this.writeoffDateTime = writeoffDateTime;
	}

	public String getWriteoffRemark() {
		return writeoffRemark;
	}

	public void setWriteoffRemark(String writeoffRemark) {
		this.writeoffRemark = writeoffRemark;
	}

}
